package com.cykj.order.domain.vo;

import com.cykj.order.domain.BsOrders;

/**
 * 订单视图对象
 * 包含订单基本信息和关联的用户、店铺信息
 * 
 * @author cykj
 * @date 2025-08-18
 */
public class BsOrdersVo extends BsOrders {
    private static final long serialVersionUID = 1L;

    /** 用户姓名 */
    private String userName;

    /** 用户手机号 */
    private String userPhone;

    /** 店铺名称 */
    private String shopName;

    /** 店铺地址 */
    private String shopAddress;

    /** 配送地址 */
    private String deliveryAddress;

    // 配送地址地区ID
    private Integer deliveryRegionId;

    // 店铺详细地址
    private String shopAddressDetail;

    // 店铺地区ID
    private Integer shopRegionId;

    @Override
    public String toString() {
        return "BsOrdersVo{" +
                "userName='" + userName + '\'' +
                ", userPhone='" + userPhone + '\'' +
                ", shopName='" + shopName + '\'' +
                ", shopAddress='" + shopAddress + '\'' +
                ", deliveryAddress='" + deliveryAddress + '\'' +
                ", deliveryRegionId=" + deliveryRegionId +
                ", shopAddressDetail='" + shopAddressDetail + '\'' +
                ", shopRegionId=" + shopRegionId +
                '}';
    }

    @Override
    public String getUserName() {
        return userName;
    }

    @Override
    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String getUserPhone() {
        return userPhone;
    }

    @Override
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    @Override
    public String getShopName() {
        return shopName;
    }

    @Override
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress;
    }

    public Integer getDeliveryRegionId() {
        return deliveryRegionId;
    }

    public void setDeliveryRegionId(Integer deliveryRegionId) {
        this.deliveryRegionId = deliveryRegionId;
    }

    public String getShopAddressDetail() {
        return shopAddressDetail;
    }

    public void setShopAddressDetail(String shopAddressDetail) {
        this.shopAddressDetail = shopAddressDetail;
    }

    public Integer getShopRegionId() {
        return shopRegionId;
    }

    public void setShopRegionId(Integer shopRegionId) {
        this.shopRegionId = shopRegionId;
    }
}
